#ifndef IPCDEVICE_H
#define IPCDEVICE_H

#include <memory.h>
#include "wininclude.h"
#include "message.h"

class IpcDevice
{
	private:
		LPVOID lpMem;
		HANDLE hMapObject;
		HANDLE memMutex;

		int opened;

	public:
		IpcDevice();
		~IpcDevice();
		int open(DWORD);
		int close();
		int send(Message *, Message *);
};

#endif
